package core.models.items;

import java.io.Serializable;
/**
 * The class that represents a Bullet in the game.
 * 
 * @author 4c1a
 */
public class Bullet extends Item implements Serializable
{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     * A Bullet constructor with a quantity parameter.
     *
     * @param quantity The amount of bullets.
     */
    public Bullet(int quantity)
    {
    	this(3, 0, quantity);
    }
    
    /**
     * A Bullet constructor with price and quantity parameters.
     * 
     * @param price The cost of bullets.
     * @param quantity The amount of bullets.
     */
    public Bullet(int price, int quantity)
    {
    	this(3, price, quantity);
    }

    /**
     * A Bullet constructor with weight, price, and quantity parameters.
     *
     * @param weight The weight of bullets.
     * @param price The cost of bullets.
     * @param quantity The number of bullets.
     */
    public Bullet(int weight, int price, int quantity)
    {
        super(weight, price, quantity, "Bullets");
    }
}
